package pf;

import basic.ReturnCode;

//
//  @ Project : Untitled
//  @ File Name : PF_FileHandle.java
//  @ Date : 16/05/2011


public interface PF_FileHandle_Interface {

	public ReturnCode GetFirstPage(PF_PageHandle pageHandle );
	
	public ReturnCode GetLastPage(PF_PageHandle pageHandle );
	
	public ReturnCode GetNextPage(int current , PF_PageHandle pageHandle );
	
	public ReturnCode GetPrevPage(int current , PF_PageHandle pageHandle );
	
	public ReturnCode GetThisPage(int pageNum , PF_PageHandle pageHandle );
	
	public ReturnCode AllocatePage(PF_PageHandle pageHandle );
	
	public ReturnCode DisposePage(int pageNum);
	
	public ReturnCode MarkDirty(int pageNum );
	
	public ReturnCode UnpinPage(int pageNum );
	
	public ReturnCode FlushPages();
	
	public ReturnCode ForcePages(int pageNum );
	
	public ReturnCode IsValidPageNum(int pageNum );
}
